HTMLify

index.html
Views: 141 | Author: cody
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Ping Pong Game</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>

    <div id="container">
        <div id="rod1">Rod 1</div>
        <div id="ball"></div>
        <div id="rod2">Rod 2</div>
    </div>

    <div id="rules">
        <h2>RULES!!</h2>
        <P>- Press D or d to move right.</P>
        <p>- Press A or a to move left.</p>
        <p>- The rod with maximum &nbsp; &nbsp; &nbsp; &nbsp; score wins the game.</p>
        <p>- Press ENTER to start.</p>
    </div>

    <script type="text/javascript" src="index.js"></script>

</body>
</html>

Comments